package map;

import java.util.HashMap;

public class MapDemo {
	public static void  main(String[] args){
		HashMap<Integer, String> hm=new HashMap<>();
		hm.put(1, "程序员");
		hm.put(2, "司机");
		hm.put(3, "老师");
        System.out.println(hm.get(1));
	}
}
